import filedict

iwikis = filedict.FileDict("dictionaries/iwikis")
redirs = filedict.FileDict("dictionaries/enredirects")

def trans(w):
	if w in redirs:
		a = redirs[w]
	else:
		a = w
	if a in iwikis:
		return iwikis[a]

